package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺预订单对象 zsyh_store_order
 * 
 * @author yuexl
 * @date 2022-03-02
 */
public class ZsyhStoreOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 下单店铺id（维修店或者配件店） */
    @Excel(name = "下单店铺id", readConverterExp = "维=修店或者配件店")
    private String storeId;

    /** 状态（1待接单 2已接单 3已发货0已取消） */
    @Excel(name = "状态", readConverterExp = "1=待接单,2=已接单,3=已发货0已取消")
    private String orderState;

    /** 收货人 */
    @Excel(name = "收货人")
    private String orderName;

    /** 收货电话 */
    @Excel(name = "收货电话")
    private String orderPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String orderAddress;

    /** 配件店铺id */
    @Excel(name = "配件店铺id")
    private String partsStoreId;

    /** 所属大区id */
    @Excel(name = "所属大区id")
    private String agentId;

    /** 订单类型（1维修店订单2配件店订单） */
    @Excel(name = "订单类型", readConverterExp = "1=维修店订单2配件店订单")
    private String orderType;

    private Date paymentTime;
    private Date sendTime;
    private Date deliveryTime;
    private String orderNum;
    private String transactionId;
    private BigDecimal orderMoney;
    private String logisticsCompany;
    private String logisticsCompanyNum;
    private String logisticsNum;


    /** 大区会长预订单详细信息 */
    private List<ZsyhStoreOrderRel> zsyhStoreOrderRelList;

    private String storeName;

    private String storeImage;

    private String agentName;

    private String createDate;

    private String partsStoreName;

    private String allMoney;

    private String partsNum;

    private String sendType;

    private String sendStoreId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setOrderPhone(String orderPhone) 
    {
        this.orderPhone = orderPhone;
    }

    public String getOrderPhone() 
    {
        return orderPhone;
    }
    public void setOrderAddress(String orderAddress) 
    {
        this.orderAddress = orderAddress;
    }

    public String getOrderAddress() 
    {
        return orderAddress;
    }
    public void setPartsStoreId(String partsStoreId) 
    {
        this.partsStoreId = partsStoreId;
    }

    public String getPartsStoreId() 
    {
        return partsStoreId;
    }
    public void setAgentId(String agentId) 
    {
        this.agentId = agentId;
    }

    public String getAgentId() 
    {
        return agentId;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }

    public List<ZsyhStoreOrderRel> getZsyhStoreOrderRelList()
    {
        return zsyhStoreOrderRelList;
    }

    public void setZsyhStoreOrderRelList(List<ZsyhStoreOrderRel> zsyhStoreOrderRelList)
    {
        this.zsyhStoreOrderRelList = zsyhStoreOrderRelList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("orderState", getOrderState())
            .append("orderName", getOrderName())
            .append("orderPhone", getOrderPhone())
            .append("orderAddress", getOrderAddress())
            .append("partsStoreId", getPartsStoreId())
            .append("agentId", getAgentId())
            .append("orderType", getOrderType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("zsyhStoreOrderRelList", getZsyhStoreOrderRelList())
            .toString();
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getStoreImage() {
        return storeImage;
    }

    public void setStoreImage(String storeImage) {
        this.storeImage = storeImage;
    }

    public String getPartsStoreName() {
        return partsStoreName;
    }

    public void setPartsStoreName(String partsStoreName) {
        this.partsStoreName = partsStoreName;
    }

    public String getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(String allMoney) {
        this.allMoney = allMoney;
    }

    public String getPartsNum() {
        return partsNum;
    }

    public void setPartsNum(String partsNum) {
        this.partsNum = partsNum;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsCompanyNum() {
        return logisticsCompanyNum;
    }

    public void setLogisticsCompanyNum(String logisticsCompanyNum) {
        this.logisticsCompanyNum = logisticsCompanyNum;
    }

    public String getLogisticsNum() {
        return logisticsNum;
    }

    public void setLogisticsNum(String logisticsNum) {
        this.logisticsNum = logisticsNum;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getSendStoreId() {
        return sendStoreId;
    }

    public void setSendStoreId(String sendStoreId) {
        this.sendStoreId = sendStoreId;
    }
}
